@import 'base';

.order-confirmation-main{
  padding-bottom: 50px;

  //*****地址*****
  .address-box{
    width: 100%;
    font-size: 14px;

    .address-none{
      height: 47px;
      line-height: 44px;

      .van-col:nth-child(2){
        padding-left: 7px;
      }
    }

    .address-be{
      min-height: 68px;
      height: auto;

      .p-position{
        position: absolute;
        top:50%;
        left:0;
        transform: translateY(-50%);
      }

      .van-col:nth-child(2){
        .msg{
          width: 90%;
          left: 5%;

          p:first-child{
            font-weight:bold;

            span{
              margin-left: 44px;
            }
          }

          p:nth-child(2){
            width: 90%;
            color: #7A7B82;
            font-size: 12px;
          }
        }

      }

      .van-col:nth-child(3){
        i{
          left:unset;
          right:0;
        }

      }
    }

    img{
      left:0;
      bottom:0;
      width: 100%;
      height: 3px;
    }
  }
  //*****地址*****


  //*****列表*****
  .product-box{
  }
  //*****列表*****

  //*****cell*****
  .order-cell-box{
    .van-cell__value{
      color:#45454D;
      font-size: 14px;
    }

    .van-field__control::placeholder{
      color: #C5C5CC;
    }
  }
  //*****cell*****

  //*****金额*****
  .order-pay-box{
    padding:2px 15px 6px;
    box-sizing: border-box;

    p{
      margin-top: 12px;
      font-size: 14px;


      span{
        float: right;
        font-size: 12px;
        font-weight: bold;

        strong{
          font-size: 14px;
        }
      }
    }
  }
  //*****金额*****

  //*****提交*****
  .order-sub{
    position: fixed;
    bottom:0;
    left:0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 0;

    .order-pay{
      display: inline-block;
      width: calc(100% - 120px);
      font-size: 14px;
      padding-right: 20px;
      box-sizing: border-box;

      span{
        font-size: 12px;
        font-weight: bold;

        strong{
          font-size: 16px;
        }
      }
    }

    .order-btn{
      background: -webkit-linear-gradient(right,#A182FF,#7E82F6);
      width: 120px;
      height: 100%;
      color: #fff;
      font-size: 15px;
    }
  }
  //*****提交*****

  //*****弹窗*****
  //优惠券
  .coupon-box{
    background-color: #f7f7f7;
    
    //title
    .coupon-box-title{
      position: fixed;
      top:44px;
      left:0;
      height: 40px;
      line-height: 40px;
      width: 100%;
      z-index:10;

      span{
        display: inline-block;
        width: 100%;
        color: #7A7B82;
      }

      span.active{
        color: #45454D;
      }

      span.active::before{
        content: '';
        position: absolute;
        left:50%;
        bottom:0;
        transform: translateX(-50%);
        height:2px;
        width: 40px;
        border-radius: 2px;
        background: #7E82F6;
      }
    }
    //title

    //优惠券列表
    .coupon-list{
      //background-color: #F7F7F7;
      overflow: auto;
      height: 335px;
      width: 100%;
      margin:40px 0 12px;

      .none-coupon{
        text-align: center;
        color: #7A7B82;
        font-size: 14px;
        padding-top: 74px;

        img{
          width: 95px;
          height: 89px;

        }
      }
    }
    //优惠券列表
  }
  //优惠券

  //支付
  .pay-box{
    height: 333px;
    padding-left:15px;
    box-sizing: border-box;

    .pay-num{
      font-size: 32px;
      padding: 24px 0 41px;
    }

    ul{
      width: 100%;

      li{
        height: 44px;
        line-height: 44px;

        i.iconfont{
          color: #65C21E;
          font-size: 22px;
          vertical-align: middle;
        }

        span{
          display: inline-block;
          float: right;
          margin-right: 15px;

          .van-checkbox{
            display: inline-block;
          }
        }
      }
    }
  }
  //支付

  //地址
  .address-pop{
    width: 100%;
    height: 100%;

    .van-popup,
    .address-choose-box{
      width: 100%;
      height: 100%;

      .first-address{
        display: flex;
        width: 100%;
        min-height: 60px;
        height:auto;
        padding:0 15px;
        box-sizing: border-box;

        span{
          width: 26px;
          min-height: 60px;
          height:auto;
          display: flex;
          justify-content: left;
          align-items: center;

          i.iconfont{
            //display: inline-block;
            color: #7E82F6;
            font-size: 16px;
            position: absolute;
            top: 50%;
            left:15px;
            transform: translateY(-50%);
          }
        }

      }

      .msg{
        width:calc(100% - 26px);
        height: 100%;
        padding:12px 0;
        box-sizing: border-box;

        p{
          i{
            font-style: normal;
            margin-left: 40px;
          }
        }

        .addressDetail{
          width: 90%;
          flex-wrap:wrap;
          margin-top: 2px;
        }
      }

      i.iconfont{
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        color: #757575;
      }

      .address-choose-list{
        ul{
          width: 100%;
          height:auto;

          li{
            min-height: 60px;
            height:auto;
            padding:0 15px;
            box-sizing: border-box;

            .msg{
              width: 100%;

              sub{
                top: -5px;
                left:0;
                background-color: #B989F4;
                width: 28px;
                height: 14px;
                border-radius: 1px;
                font-size: 10px;
                color: #fff;
                margin-left: 9px;
              }
            }
          }
        }
      }

      .btn{
        position: fixed;
        bottom:0;
        left:0;
        width: 100%;
        height: 68px;
        padding:12px 15px;
        box-sizing: border-box;

        span{
          background: -webkit-linear-gradient(right,#A182FF,#7E82F6);
          width: 345px;
          height: 44px;
          line-height: 44px;
          color: #fff;
          border-radius: 22px;
        }

      }

      .new-pop{
        background-color: #F7F8FA;

        .van-cell{
          color: #45454D;
        }


        .van-address-edit__buttons {
          padding: 30px 15px 0 !important;


          .van-button {
            border-radius: 24px;
            border: none;
            background-color: none !important;
            background: -webkit-linear-gradient(right, #A182FF, #7E82F6) !important;

            span {
              font-size: 15px;
            }
          }
        }

        .btn-close{
          width: 100%;
          height: 44px;

          span{
            background: -webkit-linear-gradient(right, #A182FF, #7E82F6);
            width: 345px;
            height: 44px;
            line-height: 44px;
            color: #fff;
            border-radius: 24px;
          }
        }
      }
    }
  }
  //地址

  //*****弹窗*****


}
